package com.baomidou.springwind.service.impl;

import com.baomidou.mybatisplus.plugins.Page;
import org.springframework.stereotype.Service;

import com.baomidou.springwind.mapper.DepartmentMapper;
import com.baomidou.springwind.entity.Department;
import com.baomidou.springwind.service.IDepartmentService;
import com.baomidou.springwind.service.support.BaseServiceImpl;

import java.util.List;

/**
 *
 * Department 表数据服务层接口实现类
 *
 */
@Service
public class DepartmentServiceImpl extends BaseServiceImpl<DepartmentMapper, Department> implements IDepartmentService {


    @Override
    public List<Department> selectDepartmentById(String id) {
        return null;
    }

    @Override
    public Page<Department> selectAllDepartment(Page<Department> page) {
        return null;
    }

    @Override
    public boolean upDateDepartmentById(Department department) {
        return baseMapper.updateDepartmentById(department);
    }

    @Override
    public int delectDepartmentById(String id) {
        return baseMapper.deleteById(id);
    }


}